/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VolPro.Entity.SystemModels;

namespace VolPro.Entity.DomainModels
{
    [Entity(TableCnName = "感应器报表",TableName = "Tb_Sensor",DBServer = "SysDbContext")]
    public partial class Tb_Sensor:SysEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string GUID { get; set; }

       /// <summary>
       ///吊牌GUID
       /// </summary>
       [Display(Name ="吊牌GUID")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string ClothesGUID { get; set; }

       /// <summary>
       ///衣物标签ID
       /// </summary>
       [Display(Name ="衣物标签ID")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string TagID { get; set; }

       /// <summary>
       ///感应ID
       /// </summary>
       [Display(Name ="感应ID")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string SensorID { get; set; }

       /// <summary>
       ///使用状态
       /// </summary>
       [Display(Name ="使用状态")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? State { get; set; }

       /// <summary>
       ///日期(创建or修改)
       /// </summary>
       [Display(Name ="日期(创建or修改)")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? Datetime { get; set; }

       
    }
}